// 重置样式和公共样式
@import"../../assets/css/reset.css";
@import"../../assets/css/common.css";

html,
body,
main {
    width: 100%;
    height: 100%;
}

main {
    display: flex;

    .loginLflet {
        width: 60%;
        height: 100%;
        position: relative;
        background-color: rgb(0, 167, 242);

        img {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
    }

    .loginritht {
        width: 40%;
        height: 100%;
        position: relative;

        .modol {
            height: 500px;
            width: 400px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: rgb(32, 141, 72);

            img {
                display: block;
                margin: 30px auto;


            }

            ul {
                height: 50px;
                width: 200px;
                display: flex;
                justify-content: space-between;
                margin: 35px auto;
                line-height: 50px;
                position: relative;

                li {
                    font-size: 18px;
                    cursor: pointer;
                    position: relative;
                    //点击添加类名颜色改变
                    &.active{
                        color: #00bdff ;
                    }
                     &.active span{
                        display: inline-block;
                        height: 3px;
                        width: 54px;
                        position: absolute;
                        background-color: #00bdff;
                        
                        right: 10px;
                        top: 42px;
                    }
                    
                }
                // 登录表单抬头灰色分割竖线条

                .on {
                    position: absolute;
                    height: 18px;
                    width: 3px;
                    background-color: #eee;
                    top: 15px;
                    right: 98px;
                }
                /* 选项卡内容 */
.tab-content div{
    height: 355px;
    width: 100%;
    display: none;
    padding: 0 20px;
}
.tab-content div.act{
    display: block;
}
/* 选项卡后面的表单验证 */
.tab-content-laft p:nth-child(1){
    position: relative;
}
.tab-content-laft p:nth-child(1) b{
    font-size: 12px;
    color: red;
    width: 80px;
    height: 13px;
    position: absolute;
    top: 15px;
    right: 0;
    display: none;
}
.tab-content-laft p:nth-child(2) b{
    font-size: 12px;
    color: red;
    width: 84px;
    height: 13px;
    position: absolute;
    top: 15px;
    right: 0;
    display: none;
}
/* 账号注册 */
.tab-content-laft p:nth-child(1) input{
    display: block;
    width: 100%;
    height: 40px;
    border: none;
    outline: none;
    border-bottom: 1px solid #e7e7e7;
    text-indent: 25px;
    line-height: 40px;
    font-size: 12px;
    color: #757575;
    margin-bottom: 20px;
}
.tab-content-laft p:nth-child(1){
    position: relative;
}
.tab-content-laft p:nth-child(1) span{
    position: absolute;
    left: -4px;
    top: 10px;
    display: inline-block;
    height: 25px;
    width: 25px;
    background: url(../images/loginIcon.png) no-repeat;
    background-position:-53px -3px;
}
.tab-content-laft p:nth-child(2) input{
    display: block;
    width: 100%;
    height: 40px;
    border: none;
    outline: none;
    border-bottom: 1px solid #e7e7e7;
    text-indent: 25px;
    line-height: 40px;
    font-size: 12px;
    color: #757575;
    margin-bottom: 20px;
}
.tab-content-laft p:nth-child(2){
    position: relative;
}
.tab-content-laft p:nth-child(2) span{
    position: absolute;
    left: -4px;
    top: 10px;
    display: inline-block;
    height: 25px;
    width: 25px;
    background: url(../images/loginIcon.png) no-repeat;
    background-position:-24px -3px;
}
.tab-content-laft p:nth-child(3){
    text-align: right;
    margin-bottom: 20px;
    color: #00bdff;
    cursor: pointer;
}
.tab-content-laft button{
    display: block;
    height: 45px;
    width: 360px;
    margin: 0 auto;
    border: none;
    outline: none;
    background-color: #00bdff;
    color: #fff;
    margin-bottom: 20px;
    cursor: pointer;
}
.tab-content-laft p:nth-child(5){
    color: #757575;
}
.tab-content-laft p:nth-child(5) a{
    color: #00bdff;
}
.tab-content-laft p:nth-child(5) span{
    display: inline-block;
    height: 20px;
    width: 20px;
    vertical-align: middle;
    background:url(../images/loginIcon.png);
    background-position: 110px -36px;
}
/*扫码登录 */
.tab-content-right p:nth-child(1){
    height: 265px;
    width: 290px;
    margin: 0 auto;
    background-color:#cfcfcf; 
    padding-top: 20px ;
}
.tab-content-right p:nth-child(1) img{
    display: block;
    margin: 25px auto;
}
.tab-content-right p:nth-child(1) b{
    font-weight: normal;
    margin: 20px auto;
    font-size: 12px;
}

.tab-content-right p:nth-child(1) span{
    display: block;
    font-size: 12px;
    margin-top: 20px;
}
.tab-content-right p:nth-child(2){
    font-size: 12px;
    color: #909090;
    margin-top: 20px;
}
.tab-content-right p:nth-child(2) a{
    color: #00bdff;
}
.tab-content-right p:nth-child(2) span{
    display: inline-block;
    height: 20px;
    width: 20px;
    background: url(../images/loginIcon.png);
    background-position: -217px 20px;
    vertical-align: middle;
}

               
            }
        }


    }

}